import java.util.Scanner;

public class proportion {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        double Proportion;//面积
        double length;//长
        System.out.print("请输入该圆的半径：");
        double R = input.nextDouble();
        length = 2 * 3.14 * R;
        System.out.println("周长为" + (int) length);
        Proportion = 3.14 * R * R;
        System.out.println("面积为" + (int) Proportion);
    }
}
